package com.wwtech.epp.ui.activity.friend.contract;

import com.wwtech.epp.entity.GroupInfo;
import com.wwtech.epp.ui.activity.base.BasePresenter;
import com.wwtech.epp.ui.activity.base.BaseView;

import java.util.Map;

/**
 * @author hzp
 * @Package The contract for GroupInfoActivity
 * @Description: $description
 * @date 2017/12/06 11:49:09
 */
public interface GroupInfoContract {
    interface View extends BaseView<GroupInfoContractPresenter> {
        /**
         *
         */
        void showProgressDialog();

        /**
         *
         */
        void closeProgressDialog();

        void setGroupInfo(GroupInfo groupInfo);

        void modifySuccess();

        void qiutGroupSuccess();
    }

    interface GroupInfoContractPresenter extends BasePresenter {
//        /**
//         *
//         */
//        void getBusinessInfo(Map map);

        void getGroupInfo(String groupId, Map map);

        void editGroupName();

        void editGroupInfo(Map map);

        void addGroupMember(String groupId, Map map);

        void deldeteGroupMember(String groupId, Map map);

        void quitGroup(Map map);
    }
}